package com.hsf.cloudeurekaclient1.service.impl;

import com.hsf.cloudeurekaclient1.dao.UserInfoRepository;
import com.hsf.cloudeurekaclient1.model.UserInfo;
import com.hsf.cloudeurekaclient1.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    private UserInfoRepository userDao;
    @Override
    public UserInfo findByUserAccount(String userAccount) {
        return userDao.findByUserAccount(userAccount);
    }
}
